-- GENERATED SPELL FOR [Fel Cannon MKI] --


function spell0_22461(pUnit, Event) --@Fel Cannon Blast,n/a--
pUnit:FullCastSpellOnTarget(36238,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22461', 2000, 1)
end

function Sorts_22461(pUnit, Event)
local choix_sorts_22461 = math.random(0, 0)
if choix_sorts_22461 == 0 then
pUnit:RegisterEvent('spell0_22461', 1, 1)
end
end

function mob22461_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22461', math.random(1500, 3000), 1)
end

function mob22461_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22461_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22461_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22461, 1, 'mob22461_Action')
RegisterUnitEvent(22461, 2, 'mob22461_Leave')
RegisterUnitEvent(22461, 3, 'mob22461_Kill')
RegisterUnitEvent(22461, 4, 'mob22461_Die')
